﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace CNI.NRT.WebAPI
{
    public class TemperatureModel
    {
        public Guid SensorID { get; set; }
        public string DeviceClass { get; set; }
        public double Temperature { get; set; }
        public DateTime Timestamp { get; set; }
    }

    [DataContract]
    public class CacheTemperature
    {
        [DataMember]
        public double Temperature { get; set; }

        [DataMember]
        public DateTime Timestamp { get; set; }
    }
}
